home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / DEMONSTR / WITHCLAS.ZIP / INSTALL.BAT next >
DOS Batch File  |  1993-06-23  |  3KB  |  65 lines

  1. echo off
  2. rem  ╔════════════════════════════════════════════════════════╗
  3. rem  ║ INSTALL.BAT batch file to Install DEMO diskette.       ║
  4. rem  ╚════════════════════════════════════════════════════════╝
  5. rem
  6. rem  First Check to make sure that 'TO:' parm was I/P.
  7. rem
  8.        if %1. == . goto ERR1
  9.  
  10.  
  11. :INSTALL1
  12.  
  13. rem  Setup the installation subdirectory (may not be necessary).
  14.        
  15.        echo Creating WCLASS directory
  16.        if NOT WCLASS. == . mkdir %1\WCLASS
  17.  
  18. rem  Now Install all the programs and files.
  19.  
  20.        echo *
  21.        echo Now COPY'ing programs to %1%2
  22.        copy *.EXE       %1\WCLASS
  23.        copy readme.txt  %1\WCLASS
  24.        cd %1\WCLASS
  25.        %1WCLASS.EXE %1 
  26.        del %1WCLASS.EXE
  27.        goto AOK
  28.  
  29. :ERR1
  30. echo off
  31. echo ╔═════════════════════════════════════════════════════════════════╗
  32. echo ║  Product Install Instructions                                   ║
  33. echo ╠═════════════════════════════════════════════════════════════════╣
  34. echo ║                                                                 ║
  35. echo ║  1) Insert the WITH CLASS disk into a floppy drive, and logon to║
  36. echo ║     that drive.  If installing to a diskette, insert a blank,   ║
  37. echo ║     formatted diskette into the floppy drive that you will be   ║
  38. echo ║     installing to.                                              ║
  39. echo ║                                                                 ║
  40. echo ║  2) Type  "INSTALL  (drive  letter):                            ║
  41. echo ║                                                                 ║
  42. echo ║                                                                 ║
  43. echo ║  For example, typing "INSTALL  C: will install the              ║
  44. echo ║    System into the subdirectory named WCLASS on drive-C.        ║
  45. echo ╚═════════════════════════════════════════════════════════════════╝
  46.        goto END
  47.  
  48.  
  49. :AOK
  50.        echo      ╔══════════════════════════════════════════════════════╗
  51.        echo      ║  WITH CLASS Installation Completed Successfully      ║
  52.        echo      ║                                                      ║
  53.        echo      ║  Now you need to bring WITH CLASS INTO windows.      ║
  54.        echo      ║  Launch the Windows environment.                     ║
  55.        echo      ║  Install WITH CLASS into Windows using the New       ║
  56.        echo      ║  Command in the Program Manager. WITH CLASS is       ║        
  57.        echo      ║  located in the WCLASS directory with the name WC.EXE║
  58.        echo      ║  After installing, run WITH CLASS. You will          ║
  59.        echo      ║  be prompted for the serial number on the disk.      ║
  60.        echo      ║  Once you enter the serial number, you               ║
  61.        echo      ║  are ready to go.                                    ║
  62.        echo      ╚══════════════════════════════════════════════════════╝
  63.  
  64. :END
  65.